<?php
	require_once (BASEPATH . '/config/' . basename(__FILE__));
	
	$route['default_controller'] = "homepage/index";
    //$route['content/contact'] = "feedback/index";
	$route['content/(.*)'] = "pages/view/$1";
	//$route['objects/search(.*)'] = "objects/search";
	$route['pages/news'] = "pages/news/all/".PAGE_CATEGORY_USER."/";
	$route['pages/news/(.*)'] = "pages/news/$1/".PAGE_CATEGORY_USER."/";
	
	$route['register'] = "user/register";
    $route['login'] = "user/login";
	$route['contact_us'] = "user/contact_us";
	
    $route['(en|ru)'] = $route['default_controller'];
    $route['(en|ru)/(.+)'] = "$2";	
?>